package HomeView.domain;

public class House {

    private  int nober;
    private String name;
    private String phone;
    private String address;
    private  int  monthlyRent;
    private String state;


    public House(int nober, String name, String phone, String address, int monthlyRent, String state) {
        this.nober = nober;
        this.name = name;
        this.phone = phone;
        this.address = address;
        this.monthlyRent = monthlyRent;
        this.state = state;
    }


    public int getNober() {
        return nober;
    }

    public void setNober(int nober) {
        this.nober = nober;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public int getMonthlyRent() {
        return monthlyRent;
    }

    public void setMonthlyRent(int monthlyRent) {
        this.monthlyRent = monthlyRent;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }


    @Override
    public String toString() {
        return   nober +
                "\t    " + name   +
                "\t    " + phone  +
                "\t    " + address +
                "\t  " + monthlyRent +
                "\t" + state ;
    }



}
